package com.taotao.portal.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.portal.pojo.CartItem;

public interface ICartService {
	public TaotaoResult AddItemToCart(Long itemId, Integer num,
			HttpServletRequest request, HttpServletResponse response);

	public List<CartItem> getCartItemList(HttpServletRequest request);

	public TaotaoResult updateCartItemCountByItemId(HttpServletRequest request,
			HttpServletResponse response, Long itemId, Integer num);

	public TaotaoResult deleteCartItem(HttpServletRequest request,
			HttpServletResponse response, Long itemId);
}
